package com.aizhixin.lab.course.course.repository;

import com.aizhixin.lab.course.course.entity.CourseProf;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface CourseProfRepository extends JpaRepository<CourseProf, Long> {
    void deleteByCourseId(String courseId);
    List<CourseProf> findByCourseIdAndDeleteFlag(String courseId, Integer deleteFlag);
    List<CourseProf> findByProfIdAndDeleteFlag(Long proFid,Integer deleteFlag);
}
